package com.baranbaygan.downloadmanager.events
{
	import com.baranbaygan.downloadmanager.DownloadFile;
	import com.baranbaygan.downloadmanager.DownloadPackage;
	
	import flash.events.Event;

	public class FileDownloadEvent extends Event
	{
		
		public static const FILE_COMPLETE:String="FileComplete";
		
		private var downloadPackage:DownloadPackage;
		private var fileObject:DownloadFile;
		
		
		public function get TargetDownloadPackage():DownloadPackage
		{
			return this.downloadPackage;
		}
		public function set TargetDownloadPackage(value:DownloadPackage):void
		{
			this.downloadPackage = value;
		}		
		public function get FileObject():DownloadFile
		{
			return this.fileObject;
		}
		public function set FileObject(value:DownloadFile):void
		{
			this.fileObject = value;
		}
		
		public function FileDownloadEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}